package com.whfc.fuum.entity;

import com.google.common.base.Objects;

import java.io.Serializable;
import java.util.Date;

public class SysEmpUser implements Serializable {

    private static final long serialVersionUID = -4176400803326478397L;

    private Integer id;

    private Integer appEmpId;

    private Integer sysUserId;

    private Integer delFlag;

    private Date updateTime;

    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAppEmpId() {
        return appEmpId;
    }

    public void setAppEmpId(Integer appEmpId) {
        this.appEmpId = appEmpId;
    }

    public Integer getSysUserId() {
        return sysUserId;
    }

    public void setSysUserId(Integer sysUserId) {
        this.sysUserId = sysUserId;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        SysEmpUser sysUser = (SysEmpUser) o;
        return Objects.equal(id, sysUser.id);
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(id);
    }
}